/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package we.dispatcher.packet;

import java.util.logging.Level;
import java.util.logging.Logger;
import we.exception.UnsupportedTypeException;

/**
 *
 * @author ADMIN
 */
public class CEchoSentPacket extends CSentPacket
{

    public String echo;

    public CEchoSentPacket()
    {
        super(1000);
    }

    @Override
    public void processData()
    {
        try
        {
            writer.write(id, echo);
        } catch (UnsupportedTypeException ex)
        {
            valid = false;
            Logger.getLogger(CEchoSentPacket.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
